<?php
/**
 * Created by Haima.
 * Author:Haima
 * QQ:228654416
 * Date: 2018/7/15
 * Time: 10:48
 */

namespace app\lib\exception;


use think\Exception;

class parameterException extends BaseException
{
    public $code = 400;
    //随便定义一个通用的提示信息,之后validate抛出异常信息时,会被重写成validate里定义的错误信息
    public $msg = '参数错误';
    //通过参数错误,凡是被验证层检查出来的错误都返回一个10000
    public $errorCode = 10000;


}